<template>
  <view class="page bg-white">
    <view class="main">
      <TeacherEventItem :type="2" :eventList="eventList" />
    </view>
  </view>
</template>
<script setup>
import { ref } from 'vue';
import TeacherEventItem from '@/components/TeacherEventItem/index.vue';
const eventList = ref([
  {
    title: '作业',
    type: 1,
    content: '张三作业条已提交，请及时上传张三作业',
    time: '2025-09-20 10:00',
    isHandle: false
  },
  {
    title: '报告',
    type: 2,
    content: '张三报告已提交，请及时查看张三报告',
    time: '2025-09-20 10:00',
    isHandle: true
  }
])
</script>